﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>ID选择器</title>
    <style>
        #fontstyle {
            color: blue;
            font-weight: bold;
        }

        #textstyle {
            color: red;
            font-size: 22px;
        }
    </style>
</head>
<body>
    <h3 id="fontstyle">孙悟空</h3>
    <p id="textstyle">猪悟能</p>
    <p id="textstyle">沙悟净</p>
</body>
</html>